<include file="public@header" />
</head>
<body>
<div class="wrap js-check-wrap">	
    <form class="form-horizontal js-ajax-form margin-top-20" role="form" action="{:url('Format/editPost')}" method="post">
        <fieldset>
            <div class="tabbable">
                <div class="tab-content">
                    <div class="tab-pane active" id="A">
                    <input type="text"  name="id" value="{$data.id}" style='display:none;'>
                    <input type="text"  name="pid" value="{$data.pid}" style='display:none;'>
                    <div class="form-group">
				        <label for="input-site-format" class="col-sm-2 control-label"><span class="form-required">*</span>店铺类型：</label>
				        <div class="col-md-6 col-sm-10">
				        <select class="form-control" name="type" style="width: 140px;" id="storeid">
				        <option value=''>选择店铺类型</option>        	
					   	   <foreach name='store_type_list' item='vl' key='kl'>
					       <option value='{$vl.id}'>{$vl.cat_name}</option> 
					       </foreach>
				   		</select> 
				   		</div>
				   		</div>
                        <div class="form-group">
                            <label for="input-site-format" class="col-sm-2 control-label"><span class="form-required">*</span>规格</label>
                            <div class="col-md-6 col-sm-10">
                                <input type="text" class="form-control" id="input-site-format" name="options[format]" value="{$data.format}">
                            </div>
                        </div>                                                
                        <div class="form-group">
                            <label for="input-site-price" class="col-sm-2 control-label"><span class="form-required">*</span>价格</label>
                            <div class="col-md-6 col-sm-10">
                                <input type="text" class="form-control" id="input-site-price" name="options[price]" value="{$data.price}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="input-site-vipprice" class="col-sm-2 control-label"><span class="form-required">*</span>会员价</label>
                            <div class="col-md-6 col-sm-10">
                                <input type="text" class="form-control" id="input-site-vipprice" name="options[vipprice]" value="{$data.vipprice}">
                            </div>
                        </div>                               
                        <div class="form-group">
                            <div class="col-sm-offset-2 col-sm-10">
                                <button type="submit" class="btn btn-primary js-ajax-submit" data-refresh="1">{:lang('SAVE')}</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </fieldset>
    </form>    
    <!-- 预览js -->  
</div>
<script type="text/javascript" src="__STATIC__/js/admin.js"></script>
</body>
</html>